
export class ResponseDto<T = any> {
 statusCode: number;
 message: string;
 data?: T;
 timestamp: string;
 path?: string;

 constructor(statusCode: number, message: string, data?: T) {
   this.statusCode = statusCode;
   this.message = message;
   this.data = data;
   this.timestamp = new Date().toISOString();
 }
}